Deleting Locally Stored CDRs and SDRs

If you have enabled local storage of CDRs (see Storing CDRs Locally on the Device) or SDRs (see Storing SDRs Locally on the Device), you can delete them from storage at any time through the device's CLI:

To delete all stored CDR files:
# clear storage-history cdr-storage-history all
To delete all unused stored CDR files:
# clear storage-history cdr-storage-history unused
To delete all stored SDR files:
# clear storage-history sdr-storage-history all
To delete all unused stored SDR files:
# clear storage-history sdr-storage-history unused